<?php

namespace app\index\controller;

use app\client\index\C_article;
use app\client\index\C_singlePage;

class SinglePage
{
    public $client;

    public function __construct()
    {
        $this->client = new C_singlePage();
    }

    /**
     * 上传点击日志
     */
    public function upHits(){
        $this->client->upHits();
        $data=array();
        $data["request"]=request()->param();
        return json($data); //输出测试接口数据
        //return view("index/article/detail",$data);
    }

}